/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Many;
import org.apache.ibatis.annotations.One;
import org.apache.ibatis.type.Alias;

import java.util.List;
import java.util.Set;

/**
 * <p>Project: mybatis2021 - User
 * <p>Powered by webrx On 2021-07-20 14:55:15
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 15
 */
@Data @AllArgsConstructor @NoArgsConstructor @Alias("user")
public class User {
    private String username;
    private String password;
    //one to one
    private UserInfo userinfo;
    //one to many
    private List<UserAddress> useraddress;
}
